package one.stand.mapper;

import com.jmp.base.dto.GoodsGroupBuyingDto;
import one.stand.dto.GoodsTypeDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodsMapperExtPublic extends GoodsMapper {
    List<GoodsTypeDto> selectTypes(@Param("goodsId") Integer goodsId);

    void deleteByCompanyId(@Param("companyId") Integer companyId);

    GoodsGroupBuyingDto selectGroup(@Param("groupId") Integer groupId);

    List<GoodsGroupBuyingDto> selectList(@Param("companyId") Integer companyId);
}
